Class como.awt.SmartFrame
All Packages Class Hierarchy This Package Previous Next Index
Class como.awt.SmartFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----como.awt.SmartFrame
- public class SmartFrame
- extends Frame
-
SmartFrame()
- Constructs a new SmartFrame.
-
SmartFrame(Component)
- Constructs a new SmartFrame.
-
SmartFrame(Component, String, Event, String, Event)
- Constructs a new SmartFrame with two Buttons: OK and Cancel.
-
SmartFrame(Component, String)
- Constructs a new SmartFrame.
-
SmartFrame(String, String)
-
calls SmartFrame( new Label(msg), ok );
-
SmartFrame(String)
-
calls SmartFrame( msg, "OK" );
-
handleEvent(Event)
-
SmartFrame
public SmartFrame()
- Constructs a new SmartFrame. This Frame only reacts to the
WINDOW_DESTROY Event.
SmartFrame
public SmartFrame(Component c)
- Constructs a new SmartFrame. If a notifier Component is given,
Events are posted there. Otherwise, this Frame only reacts to the
WINDOW_DESTROY Event.
SmartFrame
public SmartFrame(Component c,
String ok,
Event evtOk,
String cancel,
Event evtCancel)
- Constructs a new SmartFrame with two Buttons: OK and Cancel. If OK is pressed,
Evt is sent to component. If Cancel is pressed, evtcancel is sent.
It is not pack()'ed or show()'n.
SmartFrame
public SmartFrame(Component comp,
String ok)
- Constructs a new SmartFrame. The Frame will be shown.
The Component will be displayed in the Frame and an
OK-Button will be added.
SmartFrame
public SmartFrame(String msg,
String ok)
- calls SmartFrame( new Label(msg), ok );
SmartFrame
public SmartFrame(String msg)
- calls SmartFrame( msg, "OK" );
handleEvent
public boolean handleEvent(Event evt)
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index